﻿(function () {
    'use strict';

    var serviceId = 'page.resource';
    angular.module('app').factory(serviceId, ['$resource', pageresource]);

    function pageresource($resource) {
        return $resource('/api/Page/:culture', {},
        {
            query: { method: 'GET', isArray: true },
            save: { method:'POST'}
        });
    }
})();